Tripzzy\Core\Helpers\Reviews S

Total Complexity 48
Dependencies 3
Dependents 3
Total lines 345
Lines of code 195
Logical lines of code 102
Comment lines 92
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
save_ratings()
A
56 8 16
ratings_average_html()
S
46 6 40
get_reviews()
S
49 5 31
get_trip_ratings_average()
S
57 6 16
get_trip_reviews()
S
56 4 18
get_ratings()
S
68 3 7
render()
S
73 3 5
get_comments_number()
S
63 2 12
get_user_reviews()
S
62 2 12
filter_comment_form_defaults()
S
62 2 11
override_comments_template_path()
S
70 2 6
add_ratings_to_form()
S
69 2 7
append_ratings()
S
66 2 8
init()
S
69 1 6